package com.dk.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wbh
 * @since 2023-03-17
 */
@SuppressWarnings("serial")
@Data
public class MsgWork implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 工单编码
     */
    @Excel(name = "工单编码",width = 20)
    private String workId = null;

    /**
     * 工单名称
     */
    @Excel(name = "工单名称",width = 25)
    private String workName = null;

    /**
     * 工单来源
     */
    @Excel(name = "工单来源",width = 20)
    private String workSource = null;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号",width = 20)
    private String orderId = null;

    /**
     * 物料编码
     */
    @Excel(name = "物料编码",width = 20)
    private String mId = null;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称",width = 20)
    private String productName = null;

    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    private String workSpec = null;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit = null;

    /**
     * 工单数量
     */
    @Excel(name = "工单数量",type = 10)
    private Integer workNum = null;

    /**
     * 调整数量
     */
    @Excel(name = "调整数量",type = 10)
    private Integer adjustNum = null;

    /**
     * 已生产数量
     */
    @Excel(name = "已生产数量",type = 10)
    private Integer pdNum = null;

    /**
     * 批次号
     */
    @Excel(name = "批次号")
    private String locId = null;

    /**
     * 客户id
     */
    @Excel(name = "客户id")
    private String cId = null;
    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String cName = null;

    /**
     * 需求日期
     */
    @Excel(name = "需求日期", format = "yyyy-MM-dd", width = 20)
    private Date expireDate = null;

    /**
     * 单据状态
     */
    @Excel(name = "单据状态")
    private Integer workStatus = null;

    /**
     * 联动查询id
     */
    @Excel(name = "联动查询id",width = 20)
    private String pid = null;



}
